import IBulletinInsertOrUpdateForm from '@/model/form/bulletin/IBulletinInsertOrUpdateForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 新增/修改 公告
export default function bulletinInsertOrUpdateApi(
  form: IBulletinInsertOrUpdateForm
) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IBulletinInsertOrUpdateForm>(
    '/bulletin/insertOrUpdate',
    form
  )
}
